Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 9 - Camera Objects / Camera Objects Reference
Data Structures


Camera Data Structure

You use a camera data structure to get or set basic information about a camera of any kind. A camera data structure is defined by the TQ3CameraData data type.

typedef struct TQ3CameraData {
   TQ3CameraPlacement         placement;
   TQ3CameraRange             range;
   TQ3CameraViewPort          viewPort;
} TQ3CameraData;
Field Description
placement
A camera placement structure that specifies the current placement and orientation of the camera.
range
A camera range structure that specifies the current hither and yon clipping planes for the camera.
viewPort
A camera view port structure that specifies the current view port of the camera.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996